<template>
  <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>|
    <router-link to="/a">A-文本组件</router-link>|
    <router-link to="/b">B-El属性绑定指令</router-link>|
    <router-link to="/c">C-El组件事件绑定指令</router-link>|
    <router-link to="/d">D-El组件双向绑定指令</router-link>|
    <router-link to="/e">E-El组件循环指令</router-link>|
    <router-link to="/f">F-El组件影藏显示指令</router-link>|
    <router-link to="/g">G-El员工列表练习</router-link>|
    <router-link to="/h">H-El组件个人简历练习</router-link>|
    <router-link to="/i">I-El按钮组件</router-link>|
    <router-link to="/j">J-El图标组件</router-link>|
    <router-link to="/k">K-El消息组件</router-link>|
    <router-link to="/l">L-El单选组件</router-link>|
    <router-link to="/m">M-El下拉选框组件</router-link>|
    <router-link to="/n">N-El开关组件</router-link>|
    <router-link to="/o">O-El表单组件</router-link>|
    <router-link to="/p">P-El菜单组件</router-link>
  </nav>
  <router-view/>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
